$(document).ready(function(){

    $("#contactLink").click(function(){
        if ($("#ShowAllDistricts").is(":hidden")){
            $("#contactForm").slideDown("slow");
        }
        else{
            $("#contactForm").slideUp("slow");
        }
    });
		
    $("#propertyCityLink").click(function(){

		if ($("#ShowAllCities").is(":hidden")){
            $("#ShowAllCities").slideDown("slow");
        }
        else{
            $("#ShowAllCities").slideUp("slow");
        }
			
    });
    $("#project_leftCityLink").click(function(){

		if ($("#ShowAllCities").is(":hidden")){
            $("#ShowAllCities").slideDown("slow");
        }
        else{
            $("#ShowAllCities").slideUp("slow");
        }

    });
		
    $("#propertyDistrictLink").click(function(){
			
        $("#ShowAllDistricts").slideDown("slow");
			
    });
		
				
});
	
function closeForm(){
    $("#messageSent").show("slow");
    setTimeout('$("#messageSent").hide();$("#contactForm").slideD("slow");$("#contactLink").slideUp("slow");', 2000);
}